-- CALC_SLIME_EVENT_PET_BONUS

-- 冈布奥事件-冈布奥/碎片奖励
return function(eventId, para)
    local args = SlimeEventM.query(eventId, "bonus_args");
    local petId = args["slime"];
    local scrap = args["scrap"];
    local scrapAmount = args["scrap_amount"];

    -- 如果还未有宠物
    if not PetM.getMyPet(petId) then
        return { 3, petId, 1, };
    end

    return { 1, scrap, scrapAmount, };
end
